package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病例家庭成员对象 case_family_members
 * 
 * @author ruoyi
 * @date 2022-04-03
 */
public class CaseFamilyMembers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 病例ID */
    @Excel(name = "病例ID")
    private Long caseId;

    /** 成员关系 */
    @Excel(name = "成员关系")
    private Long relationship;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cardId;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String alternateField;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCaseId(Long caseId) 
    {
        this.caseId = caseId;
    }

    public Long getCaseId() 
    {
        return caseId;
    }
    public void setRelationship(Long relationship) 
    {
        this.relationship = relationship;
    }

    public Long getRelationship() 
    {
        return relationship;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }
    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setAlternateField(String alternateField) 
    {
        this.alternateField = alternateField;
    }

    public String getAlternateField() 
    {
        return alternateField;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("caseId", getCaseId())
            .append("relationship", getRelationship())
            .append("name", getName())
            .append("gender", getGender())
            .append("cardId", getCardId())
            .append("tel", getTel())
            .append("alternateField", getAlternateField())
            .toString();
    }
}
